SftTree/OCX 7.0

SftTree.BackColor Property

Softel vdm, Inc.

Defines the default background color used to draw items that are not selected.

Deprecated - Provided for compatibility with earlier versions only - Use Items.BackColor instead

Syntax       

Get

VB.NET

Clr = object.BackColor  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.BackColor;

VC++

OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

Clr := object.BackColor  : TColor;

Put

VB.NET

object.BackColor = Clr  As System.Drawing.ColorLanguage-specific information

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information object.BackColor = Clr;

VC++

OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);

C

HRESULT object->put_BackColor(OLE_COLOR Clr);

Delphi

object.BackColor := Clr  : TColor;

object

A SftTree object.

Clr

Defines the default background color used to draw items that are not selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.BackColor instead

The BackColor property defines the default background color used to draw items that are not selected.

Columns can override the default background color using the Column.BackColor property.  Cells can override the default background color using the Cell.BackColor property.  If a selected item uses a selection style (Items.SelectStyle property) that uses the Items.SelectBackColor property for only portions of the item, the BackColor property is used for the remainder of the item.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com